libkovan
1
The kovan standard library
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
accel.hpp
Go to the documentation of this file.
1
#ifndef _ACCEL_HPP_
2
#define _ACCEL_HPP_
3
4
#include "
export.h
"
5
#include "
sensor.hpp
"
6
7
class
Acceleration
8
{
9
public
:
10
static
short
x
();
11
static
short
y
();
12
static
short
z
();
13
static
bool
calibrate
();
14
private
:
15
static
void
setupI2C();
16
static
bool
s_setup;
17
};
18
19
class
AccelX
:
public
Sensor
<short>
20
{
21
public
:
22
virtual
short
value
()
const
;
23
};
24
25
class
AccelY
:
public
Sensor
<short>
26
{
27
public
:
28
virtual
short
value
()
const
;
29
};
30
31
class
AccelZ
:
public
Sensor
<short>
32
{
33
public
:
34
virtual
short
value
()
const
;
35
};
36
37
#endif
include
kovan
accel.hpp
Generated on Mon Aug 19 2013 00:33:00 for libkovan by
1.8.4